<template>
  <div class="x-tag">
  <el-tag  :type="colorType">{{name}}</el-tag>
  </div>
</template>

<script>
export default {
  name: "x-tag",
  props:{
    name:{
      type:[String,Number]
    },
    colorType:{
      type:String,
    },
  },



}
</script>

<style scoped lang="scss">
.x-tag{
  ::v-deep .el-tag{
    border-radius: 10px;
   // display: inline;
    height: auto;
    line-height: 16px;
    padding: 0 5px;
  }
}

</style>
